/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.jy.springbootcmsservice.modules.sys.dao;

import com.jy.springbootcmsservice.common.base.dao.CrudDao;
import com.jy.springbootcmsservice.modules.sys.entity.Menu;

import java.util.List;

/**
 * 菜单DAO接口
 * @author tm
 * @version 2020-11-23
 */
public interface MenuDao extends CrudDao<Menu> {

	List<Menu> findByParentIdsLike(Menu menu);

	List<Menu> findByUserId(Menu menu);
	
	int updateParentIds(Menu menu);
	
	int updateSort(Menu menu);
	
}
